updating oE db_clear_table

db_clear_table

include eds.e 
namespace eds 
public procedure db_clear_table(sequence name, integer init_records = DEF_INIT_RECORDS) 

clears a table of all its records, in the current database.

Parameters:
  1. name : a sequence, the name of the table to clear.
Errors:

An error occurs if the current database is not defined.

Comments:

If there is no table with the name given by name, then nothing happens. On success, all records are deleted and all space used by the table is freed up. If this is the current table, after this operation it will still be the current table.

See Also:

db_table_list, db_select_table, db_delete_table

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu